FROM mysql:latest
MAINTAINER caoyue <i@caoyue.me>

ENV SQL_FILE=mysql.sql

COPY ${SQL_FILE} /home/mysql.sql
COPY mysql_vars.sh /home/mysql_vars.sh
COPY mysql_init.sh /home/mysql_init.sh

EXPOSE 3306
